//to reset element-ui default css
// 控制弹出框的父元素的宽度
// .el-dialog__wrapper{
//   min-width: 1366px;
//   overflow: inherit
// }

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  // left: 0;
  position: relative;
  margin: 0 auto;

  .el-dialog__header {
    font-weight: 700;
  }
}

//element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// 覆盖按钮样式
.el-button {
  padding: $btn-padding;
  border-radius: 2px !important;

  &.btn-2text {
    width: 80px;
  }

  &.el-button--default {
    background-color: #FFFFFF;
    border-color: #CECECE;
    color: #606266;

    &:hover,
    &:focus {
      background-color: #F6F6F7;
      border-color: #CECECE;
      color: #606266;
    }

    // &:active {
    //   background-color: $white;
    //   border-color: $btn-default-hover-bg;
    //   color: $btn-default-hover-bg;
    // }

    &.is-disabled {
      background-color: #FFFFFF;
      border-color: #E6E6E6;
      color: #C0C4CC;
    }
  }

  &.el-button--text {
    color: $btn-primary-bg;
  }

  &.el-button--primary {
    background-color: #1B65B9;
    border-color: #1B65B9;
    color: #fff;

    &:hover,
    &:focus {
      background-color: #3174C0;
      border-color: #3174C0;
    }

    // &:active {
    //   background-color: $white;
    //   border-color: $btn-primary-hover-bg;
    //   color: $btn-primary-hover-bg;
    // }

    &.is-disabled {
      background-color: #ACC7E6;
      border-color: #ACC7E6;
    }
  }

  &.el-button--success {
    background-color: #67C23A;
    border-color: #67C23A;

    &:hover,
    &:focus {
      background-color: #99CC66;
      border-color: #99CC66;
    }

    // &:active {
    //   background-color: $white;
    //   border-color: $btn-success-hover-bg;
    //   color: $btn-success-hover-bg;
    // }

    &.is-disabled {
      background-color: #CCFFCC;
      border-color: #CCFFCC;
    }
  }

  &.el-button--warning {
    background-color: #E6A23C;
    border-color: #E6A23C;

    &:hover,
    &:focus {
      background-color: #F1B356;
      border-color: #F1B356;
    }

    // &:active {
    //   background-color: $white;
    //   border-color: $btn-warning-hover-bg;
    //   color: $btn-warning-hover-bg;
    // }

    &.is-disabled {
      background-color: #F9DFb9;
      border-color: #F9DFb9;
    }
  }

  &.el-button--danger {
    background-color: #F56C6C;
    border-color: #F56C6C;

    &:hover,
    &:focus {
      background-color: #FA7C7C;
      border-color: #FA7C7C;
    }

    // &:active {
    //   background-color: $white;
    //   border-color: $btn-danger-hover-bg;
    //   color: $btn-danger-hover-bg;
    // }

    &.is-disabled {
      background-color: #FCC0C0;
      border-color: #FCC0C0;
    }
  }

  &.btn-ghost {
    background-color: transparent;
    border-color: #1B65B9;
    color: #1B65B9;

    &:hover,
    &:focus {
      background-color: #E1EBF6;
      border-color: #4581C6;
      color: #4581C6;
    }

    // &:active {
    //   background-color: $white;
    //   border-color: $btn-ghost-hover-bg;
    //   color: $btn-ghost-hover-border;
    // }

    &.is-disabled {
      border-color: #ACC7E6;
      color: #ACC7E6;
    }
  }

  &.el-button--small {
    padding: $btn-small-padding;
    font-size: $font-size12;

    &.btn-2text {
      width: 64px;
    }
  }

  &.el-button--mini {
    padding: $btn-mini-padding;
    font-size: $font-size12;

    &.btn-2text {
      width: 56px;
    }
  }
}

// 覆盖Transfer 穿梭框
.el-transfer {

  .el-transfer-panel {
    width: 250px;

    .el-transfer-panel__item {
      display: block;
      margin-right: 0;
      height: 32px;
      line-height: 32px;

      & + .el-transfer-panel__item {
        margin-left: 0;
      }
    }

    .el-checkbox__inner {
      border-color: $text-color-text;
    }

    .el-transfer-panel__filter {

      .el-input__prefix {
        left: 0;
      }

      .el-input__inner {
        padding-left: 32px;
        border-radius: 2px;
        border-color: $border-color1;
      }

      .el-input__icon {
        font-size: $font-size14;
      }
    } 
  }

  .el-transfer__buttons {
    padding: 0 39px;
  }

  .el-transfer__button {
    padding: 10px;

    &:first-child {
      margin-bottom: 17px;
    }

    &.is-disabled, 
    &.is-disabled:hover {
      border-color: $border-color3;
      background-color: $bg2;
    }
  }
}
// 覆盖表单样式
.el-input {

  .el-input__inner {
    border-color: $border-color1;
    color: $text-color-title;
    font-size: $form-size;

    &:focus {
      border-color: $--color-primary !important;
    }

    &::-webkit-input-placeholder,
    &::-moz-placeholder,
    &::-moz-placeholder,
    &::-ms-input-placeholder {
      color: $text-color-mark;
    }
  }

  .el-input__suffix i {
    color: $--color-primary;
    font-size: $font-size16;
  }

  &.input-success {

    .el-input__inner {
      border-color: $--color-success;
    }

    .el-input__suffix i {
      color: $--color-success;
    }
  }

  &.input-warning {

    .el-input__inner {
      border-color: $--color-warning;
    }

    .el-input__suffix i {
      color: $--color-warning;
    }
  }

  &.input-error {

    .el-input__inner {
      border-color: $--color-danger;
    }

    .el-input__suffix i {
      color: $--color-danger;
    }
  }

  &.input-loading {

    .el-input__inner {
      border-color: $--color-primary;
    }

    .el-input__suffix i {
      color: $--color-primary;
    }
  }

  &.is-disabled .el-input__inner {
    background-color: #F0F2F5;
    border-color: #B6B7B9;
    color: #303133;
  }
}

.el-select .el-input.is-disabled .el-input__inner:hover {
  border-color: #B6B7B9;
}

textarea {
  border-color: $border-color2 !important;
}

.el-input-number {

  .el-input__inner {
    text-align: left;
  }

  .el-input-number__decrease, .el-input-number__increase {
    background-color: transparent
  }
} 

.el-input-group {
  
  .el-input-group__prepend, .el-input-group__append {
    padding: 0 10px !important;
  }
}
.input-with-select {
  .el-input-group__append {
    padding: 0 20px !important;
    background-color: #FFFFFF;
  }
}

.el-form {
  
  .el-form-item {
    margin-bottom: $const16;

    &.el-form-item--mini {

      .el-form-item__label,
      .el-form-item__content,
      .el-input__inner,
      .el-input__icon {
        line-height: $input-height-mini;
      }
    }

    &.is-error .el-input__inner {
      border-color: #156C6C;
    }
  }

  // .el-row:last-child .el-form-item {
  //   margin-bottom: 0;
  // }

  .el-form-item__label {
    padding-right: $form-label-right;
    color: $text-color-title;
    font-weight: initial;
  //   line-height: $input-height;
  //   font-size: $form-size;
  }

  // .el-form-item__content {
  //   line-height: $input-height;
  // }

  .el-form-item__error {
    z-index: 10;
    background-color: transparent;
    color: $--color-danger;
    padding: 2px 3px;
  }

  // .el-input__inner {
    // height: $input-height;
    // line-height: $input-height;
    // border-color: $border-color2;
  // }

  // .el-input__icon {
  //   line-height: $input-height;
  // }

  .el-input.is-active .el-input__inner, 
  .el-input__inner:focus {
    border-color: $input-focus-color;
  }

  .clearmargin {
    margin: 0 !important;
  }

  &.el-form--inline {

    .el-form-item {
      margin-right: 12px;
    }
  } 
}

.el-input--mini .el-input__inner {
  height: 24px;
  line-height: 24px;
}



// 覆盖表格样式
.el-table {
  font-size: $font-size14;

  .el-table__empty-block {
    background: #FFFFFF url(../assets/img/nodata.png) center no-repeat;
    .el-table__empty-text {
      padding-top: 180px;
    }

  }

  .el-table__fixed-right::before {
    height: 0;
  }

  colgroup.gutter{
    display: table-cell!important;
  }

  thead {
    
    th {
      padding: 0;
      background-color: $table-thead-bg;
      color: $table-thead-th-text-color;
      text-align: center;
      border-color: $border-color2;
      

      .cell {
        height: 44px;
        line-height: 44px;
        font-weight: 700;
      }

      &.is-leaf {
        border-bottom: 0;
      }
    }
  }

  td {
    border-bottom-color: rgba(206, 206, 206, .3);
    border-right-color: rgba(206, 206, 206, 1);
  }

  // & > .el-table__body-wrapper > tbody {

  //   td {
  //     padding: $table-td-padding;
  //     height: $table-td-height;
  //     line-height: $table-td-height;
  //   }

  //   // tr:nth-child(2n-1) {
  //   //   background-color: $table-td-bg;
  //   // }

  //   & > tr:hover td {
  //     background-color: $table-td-hover-bg !important;
  //   }
  // }

  .el-table__body { 

    tr.current-row>td{
      background-color: $table-td-hover-bg;
    }

    .el-input-number input{
      text-align: right;
    }
  }

  .el-table__expanded-cell[class*=cell] {
    padding: 16px;
  }

  .el-table__expanded-cell:hover {
    background-color: transparent!important;
  }

  .el-button {
    padding: 0 !important;
    border: 0;

    &.modify {
      color: $--color-primary;
    }

    &.delete {
      color: $--color-danger;
    }

    &.save {
      color: $--color-success;
    }
    &.is-disabled{
      color: #C0C4CC;
    }
  }
}



// 覆盖选项卡样式
.el-tabs {

  .el-tabs__header {
    margin: 0 0 16px;
  }

  .el-tabs__item {
    // max-width: 150px;
    height: 48px;
    line-height: 48px;
    padding: $tabs-padding !important;
    color: $tabs-color;
    font-size: $font-size16;
    font-weight: 700;
    @include one-line-text;

    &.is-active,
    &:hover {
      border-bottom-color: $tabs-hover-color !important;
      color: $tabs-hover-color;
    }

    &.is-disabled,
    &.is-disabled:hover {
      color: $btn-default-border-disabled;
      border-bottom-color: transparent !important;
    }
  }

  .el-tabs__active-bar {
    background-color: $--color-primary;
  }

  .el-tabs__nav-wrap.is-scrollable {
    padding: 0 36px;

    .el-tabs__nav-prev,
    .el-tabs__nav-next {
      width: 36px;
      text-align: center;
    }
  }
}



// 覆盖单选按钮样式
.el-radio {
  margin-right: 0;

  .el-radio__label {
    padding-left: $radio-label-padding-left;
    color: $text-color-title;
  }

  & + .el-radio {
    margin-left: $radio-radio-margin-left;
  }

  &.is-checked .el-radio__label {
    color: $text-color-title;
  }
}

.el-radio__inner {
  border-color: $radio-default-color;

  &:hover {
    border-color: $radio-hover-color;
  }
}

.el-radio__input.is-disabled .el-radio__inner {
  border-color: $radio-disabled;
}

.el-radio__input.is-checked .el-radio__inner {
  background-color: transparent;
  border-color: $radio-hover-color;

  &::after {
    background-color: $tabs-hover-color;
    -webkit-transform: translate(-50%,-50%) scale(2);
            transform: translate(-50%,-50%) scale(2);
  }
}

.el-radio-group > div {
  margin-top: $radio-group;
}

.el-radio-group {

  .el-radio-button__inner {
    width: 88px;
    border-left: 1px solid transparent;

    &:hover {
      color: $--color-primary;
      border-color: $--color-primary;
    }
  }

  .el-radio-button__orig-radio:checked+.el-radio-button__inner {
    background-color: $--color-primary;
    color: $white;
  }

  .el-radio-button__orig-radio:disabled+.el-radio-button__inner {
    border-color: #dcdfe6;
    color: $text-color-minor;
  }
}

// 覆盖多选按钮样式
.el-checkbox {

  &.is-checked .el-checkbox__label {
    color: $text-color-title;
  }
}

.el-checkbox-group {

  .el-checkbox__label {
    padding-left: $checked-label-padding-left; 
  }

  .el-checkbox + .el-checkbox {
    margin-left: $checked-checked-margin-left;
  }

  & + .el-checkbox-group {
    margin-top: $checked-group;
  }
}

.el-checkbox__inner {
  border-color: $checked-default-color;

  &:hover {
    border-color: $checked-hover-color;
  }
}

.el-checkbox__input.is-checked .el-checkbox__inner, 
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: $checked-hover-color;
  border-color: $checked-hover-color;
}

.el-checkbox__input.is-disabled .el-checkbox__inner {
  border-color: $checked-disabled;
}

// 覆盖表单验证错误样式
.el-form-item__error {
  padding: 3px;
  background-color: $error-bg;
  color: $error-text-color;
}

// 覆盖下拉列表样式
.el-dropdown-menu__item {

  &.selected {
    background-color: $dropdown-selected;
    color: $white;
  }

  &.hover,
  &:hover {
    background-color: $dropdown-hover-bg;
    color: $dropdown-hover-color;
  }

  span {
    display: block;
    height: 100%;
  }
} 

// 覆盖vxe表格样式
.vxe-table .vxe-body--column.col--ellipsis, .vxe-table.vxe-editable .vxe-body--column, .vxe-table .vxe-footer--column.col--ellipsis, .vxe-table .vxe-header--column.col--ellipsis{
  height: 40px!important;
}

.vxe-table {
  font-size: $size-small;
  border-color: $border-color2;
  
  .vxe-table--empty-block {

    // background: #FFFFFF url(../assets/nodata.png) center no-repeat;

    .vxe-table--empty-text {
      color: #909399;
      padding-top: 180px;
    }
  }

  .cell {
    line-height: 22px;
  }
  .el-date-editor.el-input {
    width: 100% !important;
  }
  // 表格按钮
  .handle-text{
    cursor: pointer;
    color:#66b1ff;
    margin:0 5px;
  }
  colgroup.gutter{
    display: table-cell!important;
  }
 
  thead {
    
    th {
      font-size: $size-small;
      padding: $table-th-padding;
      background-color: $table-thead-bg;
      color: $table-thead-th-text-color;
      text-align: center;
      border-color: $border-color2;

      &.is-leaf {
        border-bottom-color: $border-color2;
      }
    }
  }

  tbody {

    td {
      font-size: $size-small;
      padding: $table-td-padding;
      height: $table-td-height;
      line-height: $table-td-height;
    }

    // tr:nth-child(2n-1) {
      // background-color: $table-td-bg;
    // }

    tr:hover td {
      background-color: $table-td-hover-bg !important;
    }

    button {
      padding: 7px 5px !important;

      &+button {
        margin-left: 5px !important;
      }
    }
  }
  .el-table__body { 

    // tr>td div {
    //   width: 100%;
    //   text-overflow: ellipsis;
    //   white-space: nowrap;
    //   overflow: hidden;
    // }
    tr.current-row>td{
      background-color: $table-td-hover-bg;
    }
  }
}

.el-radio__inner::after,
.el-checkbox__inner,
.el-checkbox__inner::after,
.el-table__body td {
  @include clear-transition
}

// Switch 开关
.el-switch {
  line-height: 22px;
  height: 22px;

  .el-switch__core {
    width: 44px !important;
    line-height: 22px;
    height: 22px;

    &:after {
      width: 18px;
      height: 18px;
    }
  }

  &.is-checked .el-switch__core::after {
    margin-left: -19px;
  }

  &.switch-special {
    position: relative;

    .el-switch__label--left {
      position: absolute;
      left: 26px;
      top: -1px;
      z-index: 1;
      color: $white;

      span {
        font-size: $font-size12 !important;
      }
    }

    .el-switch__label--right {
      position: absolute;
      right: 26px;
      top: -1px;
      z-index: 1;
      color: $white;

      span {
        font-size: $font-size12 !important;
      }
    }
  }

  &.switch-mini {
    height: 16px;
    line-height: 16px;

    .el-switch__core {
      width: 28px !important;
      height: 16px;
      line-height: 16px;

      &::after {
        width: 12px;
        height: 12px;
      }
    }

    &.is-checked .el-switch__core::after {
      margin-left: -14px;
    }
  }
}

// 分页
.el-pagination {
  position: relative;
  padding: 10px 5px 0;
  text-align: right;

  .el-pager li {
    color: $text-color-title;
    border: 1px solid transparent;
    border-radius: 2px;

    &.active {
      background-color: $--color-primary;
      color: #fff;

      &:hover {
        color: #fff;
      }

      + li {
        border-left: 1px solid transparent;
      } 
    }

    &:hover {
      color: #1B65B9;
      border: 1px solid #5C91CD;
    }
  }

  span:not([class*=suffix]),
  button {
    height: 24px;
    line-height: 24px;
  }

  .el-input__suffix {
    height: auto;
    top: -2px;
  }


  .el-pager li {
    width: 24px;
    min-width: auto;
    height: 24px;
    line-height: 24px;
  }

  .el-pagination__total {
    float: left;
  }

  .el-pagination__sizes {
    position: absolute;
    right: 125px;
    top: 10px;
  }

  .el-pagination__jump {
    margin-left: 150px;

    .el-input__inner {
      height: 24px;
      line-height: 24px;
    }
  }
}

// 日期选择器
.el-date-picker {

  .el-picker-panel__content {
    margin: 16px;
  }

  .el-date-table td.today span,
  .el-month-table td.today .cell,
  .el-year-table td.today .cell {
    background-color: #DEE9F5;
    color: #525A65;
    border-radius: 0;
  }

  .el-date-table td.current:not(.disabled) span,
  .el-month-table td.current:not(.disabled) .cell,
  .el-year-table td.current:not(.disabled) .cell {
    background-color: $--color-primary;
    border-radius: 0;
    color: $white;
  }
}

// 日期范围选择器
.el-date-range-picker {

  .el-date-table td.today span {
    background-color: #DEE9F5;
    color: #525A65;
    border-radius: 0;
  }

  .el-date-table td.current:not(.disabled) span {
    background-color: $--color-primary;
    border-radius: 0;
    color: $white;
  }

  .el-date-table td span,
  .el-date-table td.start-date div,
  .el-date-table td.end-date div {
    border-radius: 0;
  }
}

// 时间选择器
.el-time-panel {

  .el-time-panel__content.has-seconds::before {
    padding-left: 0;
    margin-right: 0;
    margin-left: 0;
    background-color: #DEE9F5;
  }

  .el-time-panel__content.has-seconds::after {
    left: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .el-time-spinner__item.active:not(.disabled) {
    color: $--color-primary;
  }

  .el-time-spinner__list {
    border-left: 1px solid #DCDFE6;
    border-right: 1px solid #DCDFE6;
  }

  .el-time-spinner__item:hover:not(.disabled):not(.active) {
    background-color: #DEE9F5;
  }
}

// 时间范围选择器
.el-picker-panel {

  .el-time-panel__content.has-seconds::before {
    padding-left: 0;
    margin-right: 0;
    margin-left: 0;
    background-color: #DEE9F5;
  }

  .el-time-panel__content.has-seconds::after {
    left: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .el-time-spinner__list {
    border-left: 1px solid #DCDFE6;
    border-right: 1px solid #DCDFE6;
  }

  .el-time-spinner__item.active:not(.disabled) {
    color: $--color-primary;
  }

  .el-time-spinner__item:hover:not(.disabled):not(.active) {
    background-color: #DEE9F5;
  }
}

.el-month-table {

  td.start-date div,
  td.end-date div,
  td .cell {
    border-radius: 0;
  }
} 

// 提示信息
.el-alert {
  padding: 8px 24px;

  .el-alert__icon {
    margin-right: 14px;
  }

  .el-alert__content {
    padding: 0;
  }

  .el-alert__description {
    margin-top: 8px;
  }
}

.el-alert--info.is-light {
  background-color: #E8EFF8;
  color: $--color-primary;
}

// Steps 步骤条
.el-steps {

  .el-step__head.is-finish {
    color: $--color-primary;
    border-color: $--color-primary;
  }

  .el-step__title {
    font-size: $font-size13;
    line-height: 1;
    margin: 11px 0 12px;
  }

  .el-step__title.is-finish,
  .el-step__description.is-finish {
    color: $--color-primary;
  }

  &.el-steps--simple {
    padding: 6px 8%;

    .el-step.is-simple .el-step__icon {
      width: 24px;
      height: 24px;
      font-size: 16px;
    }

    .el-step__title.is-wait {
      color: $text-color-mark;
    }

    .el-step__head.is-wait {
      color: $text-color-mark;
      border-color: $text-color-mark;
    }
  }
}

// Badge 标记
.el-badge {

  .el-badge__content {
    height: 16px;
    line-height: 14px;
    padding: 0 4px;

    &.is-dot {
      width: 10px;
      height: 10px;
      padding: 0;
    }
  }

  .el-button {
    padding: 9px 14px;

    & + .is-dot{
      width: 12px;
      height: 12px;
      border-width: 2px;
    }
  }
}

// Tag 标签
.el-tag {
  background-color: rgba(27,101,185, .15);
  border-color: rgba(27,101,185, .3);
  color: $--color-primary;

  &.el-tag--success {
    background-color: rgba($color: #6FC644, $alpha: .15);
    border-color: rgba($color: #6FC644, $alpha: .3);
    color: #6FC644;
  }

  &.el-tag--warning {
    background-color: rgba($color: #E6A23C, $alpha: .15);
    border-color: rgba($color: #E6A23C, $alpha: .3);
    color: #E6A23C;
  }

  &.el-tag--danger {
    background-color: rgba($color: #F56C6C, $alpha: .15);
    border-color: rgba($color: #F56C6C, $alpha: .3);
    color: #F56C6C;
  }
}
.el-loading-spinner {
  &::after {
    content: '加载中...';
    position: absolute;
    top: 115%;
    left: 50%;
    transform: translateX(-50%);
  }
}
// Loading 加载
.el-loading1 {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 38px;
  background-image: url(../assets/img/loading1.png);
  // width: 64px;
  // height: 64px;
  // border: 5px solid #4E83C6;
  // border-radius: 50%;

  // &::after {
  //   content: "";
  //   position: absolute;
  //   top: -7px;
  //   width: 34px;
  //   height: 68px;
  //   border: 5px solid;
  //   // border-image: linear-gradient(to right,#000718,#23b7cb) 1 10;
  //   border-radius: 0 100% 100% 0/50%;
  //   border-left: none;
  // }

}
.el-loading2 {
  position: relative;
  display: inline-block;
  width: 76px;
  height: 76px;
  background-image: url(../assets/img/loading2.png);
}
.el-loading3 {
  position: relative;
  display: inline-block;
  width: 114px;
  height: 114px;
  background-image: url(../assets/img/loading3.png);
}
.el-loading-spinner .el-loading-text {
  color: #333333;
}
.el-loading1,
.el-loading2,
.el-loading3 {
  animation: rotating 2s linear infinite
}
@keyframes rotating{
  from {
    transform:rotate(0deg)
  }
  to {
    transform:rotate(1turn)
  }
}

// button{
//   color: #23b7cb;
//   font-size: 15px;
//   padding: 5px 15px;
//   background: #fff;
//   border: 1px transparent solid;
//   border-radius: 30px;
//   position: relative;
// }
// button:after{
//    content:'';
//    position: absolute;
//   top: -3px; bottom: -3px;
//   left: -3px; right: -3px;
//   background: linear-gradient(135deg,#000781, #23b7cb);
//   border-radius: 30px;
//   content: '';
//   z-index: -1;
// }

// Dialog 对话框
.el-dialog__wrapper {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.el-dialog {
  position: absolute;
  display: flex;
  // padding: 16px;
  flex-direction: column;
  // margin-top: 50vh !important;
  // transform: translateY(-50%);
  margin: 0 !important;

  .el-dialog__header {
    position: relative;
    height: 52px;
    padding: 16px;
    // border-bottom: 1px solid #cecece;
    line-height: 1;

    span.el-dialog__title {
      position: relative;
      line-height: 19px;
      display: inline-block;
      padding-left: 10px;
      font-weight: 700;

      &::after {
        content: '';
        position: absolute;
        width: 6px;
        height: 16px;
        left: 0;
        top: 2px;
        background-color: $--color-primary;
      }
    }

    &::after {
      content: "";
      position: absolute;
      left: 16px;
      right: 16px;
      bottom: 0;
      height: 1px;
      background-color: #cecece;
    }
  }

  .el-dialog__headerbtn {
    width: 16px;
    height: 16px;
    top: 10px;
    right: 10px;
    font-size: $font-size16;
  }

  .el-dialog__title {
    font-size: $font-size16;
    font-weight: 700;
  }

  .el-dialog__body {
    flex-grow: 1;
    max-height: 482px;
    // overflow-x: hidden;
    // overflow-y: auto;
    padding: 16px 16px 0;

    .el-pagination{
      .el-input__icon {
        transition: none!important;
      }
    }

    .scrollbar {
      height:482px;
      margin:-16px -16px 0;

      .el-scrollbar {
        height: 100%;

        .el-scrollbar__wrap{
          overflow-x: hidden;

          .el-scrollbar__view {
            padding: 16px 16px 0;
          }
        }
      }
    }
  }

  .el-dialog__footer {
    border-top: 1px solid #cecece;
    padding: 17px 84px 16px 0;
    margin: 0 16px;
    font-size: 0;
    line-height: 1;
  }
}

// MessageBox 弹框
.el-message-box {
  padding-bottom: 0;

  .el-message-box__header{
    padding: 0;
  }

  .el-message-box__headerbtn {
    top: 10px;
    right: 10px;
    width: 16px;
    height: 16px;
    z-index: 100;
  }

  .el-message-box__content {
    position: relative;
    padding: 24px 24px 20px 24px;

    .el-message-box__status{
      width: 22px;
      top: 37px;
      font-size: 22px!important;

      &.el-icon-question {
        color: $--color-warning;
      }
    }

    .el-message-box__container .el-message-box__status {
      top: 12px;
    }

    .el-message-box__message{
      padding-left: 38px;

      .myalert-header{
        color:#303133;
        font-size: 16px;
        font-weight: 700;
      }

      .myalert-content{
        margin-top: 20px;
        font-size: 14px;
        color: #909399;
        line-height: 18px;
      
      }
    }
  }

  .el-message-box__btns {
    padding: 0 24px 24px;

    .el-button--primary:focus,
    .el-button--primary:hover {
      color: #fff;
    }

    .el-button--primary:hover {
      background-color: #3174C0;
    }
  }

  
}

// Message 消息提示
.el-message {
  &.el-message--success {
    padding: 16px 24px;
    background-color: #F1F9EC;
    display: flex;
    align-items: center;
    & > P {
      flex: 1;
      strong {
        display: inline-block;
        font-size: 18px;
        line-height: 18px;
      }
      p {
        margin: 5px 0 0;
        font-size: 14px;
        line-height: 1.5em;
      }   
    } 
  }
  .el-message__icon {
    font-size: 34px;
    width: 34px;
    margin-right: 16px;
  }
}

// Tree 树形控件
.el-tree {
  color: #303133;
  .el-tree-node__content {
    height: 40px;
    
    & >.el-checkbox {
      margin-right: 8px !important;
    }
  }
}

// Breadcrumb 面包屑
.el-breadcrumb {

  .el-breadcrumb__inner a, 
  .el-breadcrumb__inner.is-link {
    font-weight: initial;
  }

  .el-breadcrumb__item:last-child .el-breadcrumb__inner, 
  .el-breadcrumb__item:last-child .el-breadcrumb__inner:hover, 
  .el-breadcrumb__item:last-child .el-breadcrumb__inner a, 
  .el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover {
    color: $--color-primary;
  }

  .el-breadcrumb__inner a:hover, 
  .el-breadcrumb__inner.is-link:hover {
    color: $color-assist;
  }
}

// Progress 进度条
.el-progress {

  .el-progress-bar__inner {
    background-color: $--color-primary;
  }
}

// Slider 滑块
.el-slider {

  .el-slider__bar {
    background-color: $--color-primary;
  }

  .el-slider__button {
    border-color:  $--color-primary;
  }
}
// 修改时间框中的至字的宽度
.el-date-editor .el-range-separator{
  width: 10%;
}

.el-table-filter .el-checkbox {
  margin-left: 0 !important;
}

// 材料上传
.el-upload-list{
  display: flex;
}
.el-upload-list__item:first-child{
  margin-top:5px;
}
.el-upload-list__item {
  transition: none !important;
}
// 滚动条组件样式修改
.el-scrollbar__view{
  height: 100%;
}
.el-scrollbar{
  overflow-x: hidden;
}

// 调价级联选择器
.cascader-price {
  .el-cascader__tags {
    .el-tag {
      max-width: 65%;
    }
  }
}
.el-row{
  margin-left:0px!important;
  margin-right:0px!important;
}